-
-
Notifications
You must be signed in to change notification settings - Fork 398
[skip-changelog] Remove python testsuite and the related workflow #2011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[skip-changelog] Remove python testsuite and the related workflow #2011
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"url": "https://raw.githubusercontent.com/arduino/arduino-cli/master/test/testdata/evil.zip", |
And adapt arduino-cli/docs/CONTRIBUTING.md Lines 164 to 177 in 513f5a1
|
@umbynos
|
3cce30d
to
88deccb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow and the associated infrastructure should be removed (even though we still have the Python code in docs/siteversion/siteversion.py
, that code is maintained in the assets repo so we don't need to do CI on it in this repo):
The no longer used dependencies should be removed from pyproject.toml
and `poetry.lock.
7cfa718
to
765de73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-D |
Nice. ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all these obsolete integration test dependencies:
https://github.com/MatteoPologruto/arduino-cli/blob/remove-python/pyproject.toml#L9-L20
And also remove this obsolete configuration for the "Black" Python formatter tool:
https://github.com/MatteoPologruto/arduino-cli/blob/remove-python/pyproject.toml#L29-L31
765de73
to
be4c47a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Matteo!
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)What kind of change does this PR introduce?
Removal of python infrastructure
What is the new behavior?
Every test that was part of the python testsuite was recently migrated to the new go testsuite. This PR removes the remaining python infrastructure and some tests' leftovers.
Does this PR introduce a breaking change, and is titled accordingly?
No
Other information
TestCoreSearchNoArgs is supposed to fail since the updated url inside
test_index.json
specificies the path inside the master branch. Since it does not yet exists, it correctly returns error404 not found
.